package com.pojo;

import lombok.Data;

@Data
public class Message {
    private String msg;
    private String username;
    private String token;
    private String code;
    private String status;
    private Integer uid;

    public Message(String msg, String username, String token, String code, String status, Integer uid) {
        this.msg = msg;
        this.username = username;
        this.token = token;
        this.code = code;
        this.status = status;
        this.uid = uid;
    }

    public Message() {
    }

    @Override
    public String toString() {
        return "Message{" +
                "msg='" + msg + '\'' +
                ", username='" + username + '\'' +
                ", token='" + token + '\'' +
                ", code='" + code + '\'' +
                ", status='" + status + '\'' +
                ", uid=" + uid +
                '}';
    }
}
